package dz.chuxin.framework.widget.recycler;

/**
 * Created by chuxin on 2016/7/1.
 */
public class SectionModel<T> {
    public boolean isHeader;
    public int headerIndex;//用于索引ABC...的index定位
    public T data;
    public String header;

    public SectionModel(boolean isHeader, int headerIndex, String header) {
        this.isHeader = isHeader;
        this.header = header;
        this.headerIndex = headerIndex;
        this.data = null;
    }

    public SectionModel(T t) {
        this.isHeader = false;
        this.header = null;
        this.data = t;
    }
}
